﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Day0320_练习_Game
{
    class Program
    {
        static void Main(string[] args)
        {
            Weapon duoLanJian = new ChangJian();
            Weapon houYiShenGong = new GongJian();
            Weapon siWangQuanZhang = new FaZhang();

            Hero gaiLun = new Hero(1000, 200, ENUM_Professional.QiShi, duoLanJian);
            //gaiLun.HeroWeapon = houYiShenGong;
            //gaiLun.HeroWeapon = siWangQuanZhang;

            //Hero aiXi = new Hero(500, 1000, ENUM_Professional.GongJianShou, houYiShenGong);
            //Hero liuLangFaShi = new Hero(600, 1500, ENUM_Professional.FaShi, siWangQuanZhang);

            Boss daLong = new Boss(800, 300, 400);

            gaiLun.Hero_Attack(daLong);
            //daLong.Boss_Attack(gaiLun);
            
        }
    }
}
